/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xmibase;

/**
 *
 * @author Felipe Gutierrez
 */


import java.util.ArrayList;

public class XmiAttribute  extends XmiAssociationAttributes{
	private String id;
	private String name;
	private String idDataType;
	private String dataType;
	private String initialValue;
	private String ownerScope;
	private String packageType;
	private ArrayList<XmiTagValue> tagsValue;
	private ArrayList<XmiTagDefinition> tagsDefenition;

	private boolean isBO;


	public boolean isBO() {
		return isBO;
	}

	public void setBO(boolean isBO) {
		this.isBO = isBO;
	}

	public String getInitialValue() {
		return initialValue;
	}

	public void setInitialValue(String initialValue) {
		this.initialValue = initialValue;
	}

	public XmiAttribute() {
		this.tagsDefenition = new ArrayList<XmiTagDefinition>();
		this.tagsValue = new ArrayList<XmiTagValue>();
	}

	public ArrayList<XmiTagValue> getTagsValue() {
		return tagsValue;
	}

	public void setTagsValue(ArrayList<XmiTagValue> tagsValue) {
		this.tagsValue = tagsValue;
	}

	public void addTagValue(XmiTagValue tag) {
		this.tagsValue.add(tag);
	}
	public ArrayList<XmiTagDefinition> getTagsDefenition() {
		return tagsDefenition;
	}

	public void setTagsDefenition(ArrayList<XmiTagDefinition> tagsDefenition) {
		this.tagsDefenition = tagsDefenition;
	}

	public void addTagDefenition(XmiTagDefinition tag){
		this.tagsDefenition.add(tag);
	}

	public String getOwnerScope() {
		return ownerScope;
	}

	public void setOwnerScope(String ownerScope) {
		this.ownerScope = ownerScope;
	}

	public String getPackageType() {
		return packageType;
	}

	public void setPackageType(String packageType) {
		this.packageType = packageType;
	}

	public String getIdDataType() {
		return idDataType;
	}

	public void setIdDataType(String idType) {
		this.idDataType = idType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String type) {
		this.dataType = type;
	}





}
